﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;
namespace Thaire.Investment.Repository.Mapping
{
    class AssetClassMap : ClassMap<AssetClass>
    {

        public AssetClassMap()
        {

            Table("ASSET_CLASS");
            Id(x => x.AssetClassID, "ASSET_CLASS_ID").GeneratedBy.Native();

            Map(x => x.FinancialInstrumentsReferenceCodeID, "FINANCIAL_INSTRUMENTS_REFERENCE_CODE_ID");
            Map(x => x.AssetClassEN, "ASSET_CLASS_EN");
            Map(x => x.AssetClassTH, "ASSET_CLASS_TH");

        }


    }
}
